bash if string length 0. There are any references about bash if string length 0 in here. you can look below.